﻿using SHZY.Common.Const;
using SHZY.Common.Contracts;
using SqlSugar;

namespace SHZY.BaseData.Entitys.Common.Entity;

/// <summary>
/// 客户信息实体.
/// </summary>
[SugarTable("com_base_customer", "客户信息")]
[Tenant(ClaimConst.TENANTID)]
public class ComBaseCustomerEntity : CLDEntityBase
{
    ///// <summary>
    ///// GUID.
    ///// </summary>
    //[SugarColumn(ColumnName = "F_Id",ColumnDescription = "GUID", IsPrimaryKey = true)]
    //public string Id { get; set; }

    /// <summary>
    /// 客户编码.
    /// </summary>
    [SugarColumn(ColumnName = "F_Code", ColumnDescription = "客户编码")]
    public string Code { get; set; }

    /// <summary>
    /// 客户名称.
    /// </summary>
    [SugarColumn(ColumnName = "F_Name", ColumnDescription = "客户名称")]
    public string Name { get; set; }

    /// <summary>
    /// 客户类型.
    /// </summary>
    [SugarColumn(ColumnName = "F_Type", ColumnDescription = "客户类型")]
    public string Type { get; set; }

    /// <summary>
    /// 客户分类.
    /// </summary>
    [SugarColumn(ColumnName = "F_Classify", ColumnDescription = "客户分类")]
    public string Classify { get; set; }

    /// <summary>
    /// 客户地址.
    /// </summary>
    [SugarColumn(ColumnName = "F_Address", ColumnDescription = "客户地址")]
    public string Address { get; set; }

    /// <summary>
    /// 客户电话.
    /// </summary>
    [SugarColumn(ColumnName = "F_Phone", ColumnDescription = "客户电话")]
    public string Phone { get; set; }

    /// <summary>
    /// 客户邮箱.
    /// </summary>
    [SugarColumn(ColumnName = "F_Email", ColumnDescription = "客户邮箱")]
    public string Email { get; set; }

    /// <summary>
    /// 客户联系人.
    /// </summary>
    [SugarColumn(ColumnName = "F_Contacts", ColumnDescription = "客户联系人")]
    public string Contacts { get; set; }

    /// <summary>
    /// 备注.
    /// </summary>
    [SugarColumn(ColumnName = "F_Remarks", ColumnDescription = "备注")]
    public string Remarks { get; set; }
}